/*
package start.springbatch;


import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
import org.springframework.batch.core.configuration.annotation.StepBuilderFactory;
import org.springframework.stereotype.Component;

import javax.persistence.EntityManagerFactory;
import java.util.HashMap;

*/
/**
 * @author yingtao
 * @ClassName DataBatchJob
 * @description: TODO
 * @datetime 2022年 08月 12日 14:00
 * @version: 1.0
 *//*

@Slf4j
@Component
public class DataBatchJob {
    */
/**
     * Job构建工厂，用于构建Job
     *//*

    private final JobBuilderFactory jobBuilderFactory;
    */
/**
     * Step构建工厂，用于构建Step
     *//*

    private final StepBuilderFactory stepBuilderFactory;
    */
/**
     * 实体类管理工工厂，用于访问表格数据
     *//*

    private final EntityManagerFactory emf;
    */
/**
     * 自定义的简单Job监听器
     *//*

    private final JobListener jobListener;

    //@Autowired
    public DataBatchJob(JobBuilderFactory jobBuilderFactory, StepBuilderFactory stepBuilderFactory,
                        EntityManagerFactory emf, JobListener jobListener) {
        this.jobBuilderFactory = jobBuilderFactory;
        this.stepBuilderFactory = stepBuilderFactory;
        this.emf = emf;
        this.jobListener = jobListener;
    }

    */
/**
     * 一个最基础的Job通常由一个或者多个Step组成
     *//*

    public Job dataHandleJob() {
        return new ExtJob(new HashMap<>(), jobBuilderFactory, stepBuilderFactory, emf).getJob();
    }


}
*/
